home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form frmSetIcon
- BackColor = &H00FFFF80&
- Caption = "The SetIcon Program"
- ClientHeight = 2415
- ClientLeft = 1095
- ClientTop = 1485
- ClientWidth = 2175
- Height = 2820
- Icon = SETICON.FRX:0000
- Left = 1035
- LinkTopic = "Form1"
- MaxButton = 0 'False
- ScaleHeight = 2415
- ScaleWidth = 2175
- Top = 1140
- Width = 2295
- WindowState = 1 'Minimized
- Begin PictureBox Picture8
- AutoSize = -1 'True
- BackColor = &H00C0C0C0&
- Height = 495
- Left = 720
- ScaleHeight = 465
- ScaleWidth = 465
- TabIndex = 9
- Top = 1200
- Width = 495
- End
- Begin PictureBox Picture7
- AutoSize = -1 'True
- Height = 510
- Left = 720
- Picture = SETICON.FRX:0302
- ScaleHeight = 480
- ScaleWidth = 480
- TabIndex = 8
- Top = 1200
- Visible = 0 'False
- Width = 510
- End
- Begin PictureBox Picture6
- AutoSize = -1 'True
- Height = 510
- Left = 720
- Picture = SETICON.FRX:0604
- ScaleHeight = 480
- ScaleWidth = 480
- TabIndex = 7
- Top = 1200
- Visible = 0 'False
- Width = 510
- End
- Begin PictureBox Picture5
- AutoSize = -1 'True
- Height = 510
- Left = 720
- Picture = SETICON.FRX:0906
- ScaleHeight = 480
- ScaleWidth = 480
- TabIndex = 6
- Top = 1200
- Visible = 0 'False
- Width = 510
- End
- Begin PictureBox Picture4
- AutoSize = -1 'True
- Height = 510
- Left = 720
- Picture = SETICON.FRX:0C08
- ScaleHeight = 480
- ScaleWidth = 480
- TabIndex = 5
- Top = 1200
- Visible = 0 'False
- Width = 510
- End
- Begin PictureBox Picture3
- AutoSize = -1 'True
- Height = 510
- Left = 720
- Picture = SETICON.FRX:0F0A
- ScaleHeight = 480
- ScaleWidth = 480
- TabIndex = 4
- Top = 1200
- Visible = 0 'False
- Width = 510
- End
- Begin PictureBox Picture2
- AutoSize = -1 'True
- Height = 510
- Left = 720
- Picture = SETICON.FRX:120C
- ScaleHeight = 480
- ScaleWidth = 480
- TabIndex = 3
- Top = 1200
- Visible = 0 'False
- Width = 510
- End
- Begin PictureBox Picture1
- AutoSize = -1 'True
- Height = 510
- Left = 720
- Picture = SETICON.FRX:150E
- ScaleHeight = 480
- ScaleWidth = 480
- TabIndex = 2
- Top = 1200
- Visible = 0 'False
- Width = 510
- End
- Begin Timer Timer1
- Interval = 250
- Left = 120
- Top = 720
- End
- Begin CommandButton cmdExit
- Caption = "E&xit"
- Height = 495
- Left = 360
- TabIndex = 1
- Top = 1800
- Width = 1215
- End
- Begin CommandButton cmdPaintbrush
- Caption = "&Start Paintbrush"
- Height = 495
- Left = 120
- TabIndex = 0
- Top = 120
- Width = 1935
- End
- Option Explicit
- Sub cmdExit_Click ()
- End
- End Sub
- Sub cmdPaintbrush_Click ()
- Dim Instance
- Instance = Shell("Pbrush.EXE", 1)
- End
- End Sub
- Sub Timer1_Timer ()
- Static Flag
-
- If Flag = 0 Then
- frmSetIcon.Icon = Picture1.Picture
- Picture8.Picture = Picture1.Picture
- ElseIf Flag = 1 Then
- frmSetIcon.Icon = Picture2.Picture
- Picture8.Picture = Picture2.Picture
- ElseIf Flag = 2 Then
- frmSetIcon.Icon = Picture3.Picture
- Picture8.Picture = Picture3.Picture
- ElseIf Flag = 3 Then
- frmSetIcon.Icon = Picture4.Picture
- Picture8.Picture = Picture4.Picture
- ElseIf Flag = 4 Then
- frmSetIcon.Icon = Picture5.Picture
- Picture8.Picture = Picture5.Picture
- ElseIf Flag = 5 Then
- frmSetIcon.Icon = Picture6.Picture
- Picture8.Picture = Picture6.Picture
- ElseIf Flag = 6 Then
- frmSetIcon.Icon = Picture7.Picture
- Picture8.Picture = Picture7.Picture
- End If
- Flag = Flag + 1
- If Flag = 7 Then
- Flag = 0
- End If
- End Sub
-